
#ymlc应用的子路由

from django.urls import path
from . import views

app_name="mymlc"
urlpatterns = [
   #主页 详情 增删改查

    path('',views.index,name="index"),
    path('detail/<int:id>',views.detail,name="detail"),
    path('add',views.add,name="add"),
    path('delete/<int:id>', views.delete,name="delete"),
    path('edit/<int:id>', views.edit,name="edit"),

]